package hos.controller;

import hos.po.P_condition;
import hos.po.P_information;
import hos.service.P_conditionServiceImp;

public class P_conditionController {
	public P_condition P_conditionCreate(P_information p_info) {
		P_conditionServiceImp p_conService = new P_conditionServiceImp();
		System.out.println("医生诊断中.....");
		P_condition p_cond= new P_condition();
		p_cond.setP_id(p_info.getP_id());
		String res = p_conService.P_conditionCreate(p_cond);
		System.out.println(res);
		return p_cond;
	}
}
